<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: fs类 参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="../../d1/d3f/classfs-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">fs类 参考</div></div>
</div><!--header-->
<div class="contents">

<p>文件系统接口封装  
 <a href="#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="../../d8/d68/fs_8hpp_source.html">fs.hpp</a>&gt;</code></p>
<div class="dynheader">
fs 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="../../df/dbb/classfs__coll__graph.png" border="0" usemap="#afs_coll__map" alt="Collaboration graph"/></div>
<map name="afs_coll__map" id="afs_coll__map">
<area shape="rect" title="文件系统接口封装" alt="" coords="5,5,229,619"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d7c/structfs_1_1st_file_item.html">stFileItem</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">定义文件描述项目  <a href="../../dc/d7c/structfs_1_1st_file_item.html#details">更多...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:af8aecc9593fcc171457f88a3c7c35e49" id="r_af8aecc9593fcc171457f88a3c7c35e49"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af8aecc9593fcc171457f88a3c7c35e49">emErrCode</a> { <br />
&#160;&#160;<a class="el" href="#af8aecc9593fcc171457f88a3c7c35e49af2fb67f4a4e2714bd8fda5dbf1ce85bd">ERR_ROOT_EMPTY</a> = -1000
, <a class="el" href="#af8aecc9593fcc171457f88a3c7c35e49a9aed94f00d66f8f2784698c5ec480012">ERR_MISSING_TMPT</a>
, <a class="el" href="#af8aecc9593fcc171457f88a3c7c35e49aa1f1f147fb76092ddd04140a41e53e95">ERR_OPEN_DIR</a>
, <a class="el" href="#af8aecc9593fcc171457f88a3c7c35e49a99e222bf97d360aa059a8fed65645bec">ERR_PATH_NOT_DIR</a>
, <br />
&#160;&#160;<a class="el" href="#af8aecc9593fcc171457f88a3c7c35e49a45e1b2274065c1887af132ced3301362">ERR_ITER_DIR</a>
, <a class="el" href="#af8aecc9593fcc171457f88a3c7c35e49a38fb7051ea8a8af6304601faeacf66a7">OK</a> = 0
<br />
 }</td></tr>
<tr class="separator:af8aecc9593fcc171457f88a3c7c35e49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aceed8ab8a41b460ab6feafd3ffeed55e" id="r_aceed8ab8a41b460ab6feafd3ffeed55e"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aceed8ab8a41b460ab6feafd3ffeed55e">fileTree</a> = <a class="el" href="../../d4/d4d/classtree.html">tree</a>&lt; <a class="el" href="../../dc/d7c/structfs_1_1st_file_item.html">stFileItem</a> &gt;</td></tr>
<tr class="separator:aceed8ab8a41b460ab6feafd3ffeed55e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:ac371f0f306e0f01776cce4997b168a69" id="r_ac371f0f306e0f01776cce4997b168a69"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac371f0f306e0f01776cce4997b168a69">copy</a> (const std::string &amp;from, const std::string &amp;to)</td></tr>
<tr class="memdesc:ac371f0f306e0f01776cce4997b168a69"><td class="mdescLeft">&#160;</td><td class="mdescRight">拷贝文件  <br /></td></tr>
<tr class="separator:ac371f0f306e0f01776cce4997b168a69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a821cb3cdae648caf6a9f92b39c864421" id="r_a821cb3cdae648caf6a9f92b39c864421"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a821cb3cdae648caf6a9f92b39c864421">isDir</a> (const std::string &amp;path)</td></tr>
<tr class="memdesc:a821cb3cdae648caf6a9f92b39c864421"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断给定的路径是否是目录  <br /></td></tr>
<tr class="separator:a821cb3cdae648caf6a9f92b39c864421"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac798c0a9fba084f6c2ec070924828915" id="r_ac798c0a9fba084f6c2ec070924828915"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac798c0a9fba084f6c2ec070924828915">isDir</a> (const <a class="el" href="../../dc/d7c/structfs_1_1st_file_item.html">stFileItem</a> &amp;item)</td></tr>
<tr class="separator:ac798c0a9fba084f6c2ec070924828915"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf164e8b33c13f8499dafa499f763778" id="r_aaf164e8b33c13f8499dafa499f763778"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aaf164e8b33c13f8499dafa499f763778">isFile</a> (const std::string &amp;path)</td></tr>
<tr class="memdesc:aaf164e8b33c13f8499dafa499f763778"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断给定的路径是否是普通文件  <br /></td></tr>
<tr class="separator:aaf164e8b33c13f8499dafa499f763778"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acddf6fbd688a9f3ab94f8634090ac9db" id="r_acddf6fbd688a9f3ab94f8634090ac9db"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#acddf6fbd688a9f3ab94f8634090ac9db">dirEmpty</a> (const std::string &amp;path)</td></tr>
<tr class="memdesc:acddf6fbd688a9f3ab94f8634090ac9db"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断指定目录是否是空目录  <br /></td></tr>
<tr class="separator:acddf6fbd688a9f3ab94f8634090ac9db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca59d4eca486930e503c0e6902ae591c" id="r_aca59d4eca486930e503c0e6902ae591c"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="#af8aecc9593fcc171457f88a3c7c35e49">emErrCode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aca59d4eca486930e503c0e6902ae591c">enumFile</a> (const std::string &amp;path, <a class="el" href="#aceed8ab8a41b460ab6feafd3ffeed55e">fileTree</a> &amp;root)</td></tr>
<tr class="memdesc:aca59d4eca486930e503c0e6902ae591c"><td class="mdescLeft">&#160;</td><td class="mdescRight">枚举文件，将指定目录按照原本的结构整理成一个可以以树形结构遍历的数据  <br /></td></tr>
<tr class="separator:aca59d4eca486930e503c0e6902ae591c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aead05250d375e2339c7b9d5d9181d01c" id="r_aead05250d375e2339c7b9d5d9181d01c"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aead05250d375e2339c7b9d5d9181d01c">enumFileAsync</a> (const std::string &amp;path, std::function&lt; void(<a class="el" href="#af8aecc9593fcc171457f88a3c7c35e49">emErrCode</a>, <a class="el" href="#aceed8ab8a41b460ab6feafd3ffeed55e">fileTree</a> &amp;) &gt; fun)</td></tr>
<tr class="separator:aead05250d375e2339c7b9d5d9181d01c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aadd2e9ee5179b644dac3206cdd662f34" id="r_aadd2e9ee5179b644dac3206cdd662f34"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="#af8aecc9593fcc171457f88a3c7c35e49">emErrCode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aadd2e9ee5179b644dac3206cdd662f34">removeFile</a> (const std::string &amp;path, const std::string &amp;reg, bool re=true)</td></tr>
<tr class="memdesc:aadd2e9ee5179b644dac3206cdd662f34"><td class="mdescLeft">&#160;</td><td class="mdescRight">删除满足条件要求的文件或者目录  <br /></td></tr>
<tr class="separator:aadd2e9ee5179b644dac3206cdd662f34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a07c998d2fa4da5920d39421123dba0" id="r_a0a07c998d2fa4da5920d39421123dba0"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a0a07c998d2fa4da5920d39421123dba0">removeFileAsync</a> (const std::string &amp;path, const std::string &amp;files, std::function&lt; void(<a class="el" href="#af8aecc9593fcc171457f88a3c7c35e49">emErrCode</a>) &gt; fun, bool re=true)</td></tr>
<tr class="separator:a0a07c998d2fa4da5920d39421123dba0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13278749ac0f2cf238be3829c3b7f68d" id="r_a13278749ac0f2cf238be3829c3b7f68d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="#af8aecc9593fcc171457f88a3c7c35e49">emErrCode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a13278749ac0f2cf238be3829c3b7f68d">for_each</a> (const std::string &amp;path, std::function&lt; bool(<a class="el" href="#af8aecc9593fcc171457f88a3c7c35e49">emErrCode</a>, const <a class="el" href="../../dc/d7c/structfs_1_1st_file_item.html">stFileItem</a> &amp;) &gt; fun)</td></tr>
<tr class="memdesc:a13278749ac0f2cf238be3829c3b7f68d"><td class="mdescLeft">&#160;</td><td class="mdescRight">遍历指定路径中的文件  <br /></td></tr>
<tr class="separator:a13278749ac0f2cf238be3829c3b7f68d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>文件系统接口封装 </p>
<dl class="section version"><dt>版本</dt><dd>1.0 </dd></dl>
<dl class="section date"><dt>日期</dt><dd>2020-9-30 </dd></dl>
<dl class="section author"><dt>作者</dt><dd>宋炜 </dd></dl>

<p class="definition">在文件 <a class="el" href="../../d8/d68/fs_8hpp_source.html">fs.hpp</a> 第 <a class="el" href="../../d8/d68/fs_8hpp_source.html#l00026">26</a> 行定义.</p>
</div><h2 class="groupheader">成员类型定义说明</h2>
<a id="aceed8ab8a41b460ab6feafd3ffeed55e" name="aceed8ab8a41b460ab6feafd3ffeed55e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aceed8ab8a41b460ab6feafd3ffeed55e">&#9670;&#160;</a></span>fileTree</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="#aceed8ab8a41b460ab6feafd3ffeed55e">fs::fileTree</a> = <a class="el" href="../../d4/d4d/classtree.html">tree</a>&lt; <a class="el" href="../../dc/d7c/structfs_1_1st_file_item.html">stFileItem</a> &gt;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d8/d68/fs_8hpp_source.html">fs.hpp</a> 第 <a class="el" href="../../d8/d68/fs_8hpp_source.html#l00048">48</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员枚举类型说明</h2>
<a id="af8aecc9593fcc171457f88a3c7c35e49" name="af8aecc9593fcc171457f88a3c7c35e49"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8aecc9593fcc171457f88a3c7c35e49">&#9670;&#160;</a></span>emErrCode</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="#af8aecc9593fcc171457f88a3c7c35e49">fs::emErrCode</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="af8aecc9593fcc171457f88a3c7c35e49af2fb67f4a4e2714bd8fda5dbf1ce85bd" name="af8aecc9593fcc171457f88a3c7c35e49af2fb67f4a4e2714bd8fda5dbf1ce85bd"></a>ERR_ROOT_EMPTY&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="af8aecc9593fcc171457f88a3c7c35e49a9aed94f00d66f8f2784698c5ec480012" name="af8aecc9593fcc171457f88a3c7c35e49a9aed94f00d66f8f2784698c5ec480012"></a>ERR_MISSING_TMPT&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="af8aecc9593fcc171457f88a3c7c35e49aa1f1f147fb76092ddd04140a41e53e95" name="af8aecc9593fcc171457f88a3c7c35e49aa1f1f147fb76092ddd04140a41e53e95"></a>ERR_OPEN_DIR&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="af8aecc9593fcc171457f88a3c7c35e49a99e222bf97d360aa059a8fed65645bec" name="af8aecc9593fcc171457f88a3c7c35e49a99e222bf97d360aa059a8fed65645bec"></a>ERR_PATH_NOT_DIR&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="af8aecc9593fcc171457f88a3c7c35e49a45e1b2274065c1887af132ced3301362" name="af8aecc9593fcc171457f88a3c7c35e49a45e1b2274065c1887af132ced3301362"></a>ERR_ITER_DIR&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="af8aecc9593fcc171457f88a3c7c35e49a38fb7051ea8a8af6304601faeacf66a7" name="af8aecc9593fcc171457f88a3c7c35e49a38fb7051ea8a8af6304601faeacf66a7"></a>OK&#160;</td><td class="fielddoc"></td></tr>
</table>

<p class="definition">在文件 <a class="el" href="../../d8/d68/fs_8hpp_source.html">fs.hpp</a> 第 <a class="el" href="../../d8/d68/fs_8hpp_source.html#l00050">50</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="ac371f0f306e0f01776cce4997b168a69" name="ac371f0f306e0f01776cce4997b168a69"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac371f0f306e0f01776cce4997b168a69">&#9670;&#160;</a></span>copy()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool fs::copy </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>from</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>to</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>拷贝文件 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">from</td><td></td></tr>
    <tr><td class="paramname">to</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

<p class="definition">在文件 <a class="el" href="../../d3/d58/fs_8cpp_source.html">fs.cpp</a> 第 <a class="el" href="../../d3/d58/fs_8cpp_source.html#l00057">57</a> 行定义.</p>

</div>
</div>
<a id="acddf6fbd688a9f3ab94f8634090ac9db" name="acddf6fbd688a9f3ab94f8634090ac9db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acddf6fbd688a9f3ab94f8634090ac9db">&#9670;&#160;</a></span>dirEmpty()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool fs::dirEmpty </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>path</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>判断指定目录是否是空目录 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">path[</td><td>I ]， 指定目录路径 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>指定目录不空返回false，否则返回true @exceptions 指定目录为空字符串抛出-1，打开目录失败抛出-2，指定字符串是文件名字抛出-3 </dd></dl>

<p class="definition">在文件 <a class="el" href="../../d3/d58/fs_8cpp_source.html">fs.cpp</a> 第 <a class="el" href="../../d3/d58/fs_8cpp_source.html#l00018">18</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../dc/d2f/classfs_acddf6fbd688a9f3ab94f8634090ac9db_cgraph.png" border="0" usemap="#adc/d2f/classfs_acddf6fbd688a9f3ab94f8634090ac9db_cgraph" alt=""/></div>
<map name="adc/d2f/classfs_acddf6fbd688a9f3ab94f8634090ac9db_cgraph" id="adc/d2f/classfs_acddf6fbd688a9f3ab94f8634090ac9db_cgraph">
<area shape="rect" title="判断指定目录是否是空目录" alt="" coords="5,5,98,32"/>
<area shape="rect" href="../../d0/d0e/misc_8hpp.html#adc75a513912f0c4d40d5882955b411c1" title="判断是否是目录" alt="" coords="146,5,194,32"/>
<area shape="poly" title=" " alt="" coords="98,16,130,16,130,21,98,21"/>
<area shape="rect" href="../../dc/d2f/classfs.html#a821cb3cdae648caf6a9f92b39c864421" title="判断给定的路径是否是目录" alt="" coords="242,5,309,32"/>
<area shape="poly" title=" " alt="" coords="195,16,226,16,226,21,195,21"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../dc/d2f/classfs_acddf6fbd688a9f3ab94f8634090ac9db_icgraph.png" border="0" usemap="#adc/d2f/classfs_acddf6fbd688a9f3ab94f8634090ac9db_icgraph" alt=""/></div>
<map name="adc/d2f/classfs_acddf6fbd688a9f3ab94f8634090ac9db_icgraph" id="adc/d2f/classfs_acddf6fbd688a9f3ab94f8634090ac9db_icgraph">
<area shape="rect" title="判断指定目录是否是空目录" alt="" coords="127,5,219,32"/>
<area shape="rect" href="../../d0/d0e/misc_8hpp.html#aa6ab57aaa484b0046c82e74c5c30e050" title="判断目录是否为空" alt="" coords="5,5,79,32"/>
<area shape="poly" title=" " alt="" coords="111,21,79,21,79,16,111,16"/>
</map>
</div>

</div>
</div>
<a id="aca59d4eca486930e503c0e6902ae591c" name="aca59d4eca486930e503c0e6902ae591c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca59d4eca486930e503c0e6902ae591c">&#9670;&#160;</a></span>enumFile()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="#af8aecc9593fcc171457f88a3c7c35e49">fs::emErrCode</a> fs::enumFile </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>path</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="#aceed8ab8a41b460ab6feafd3ffeed55e">fileTree</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>root</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>枚举文件，将指定目录按照原本的结构整理成一个可以以树形结构遍历的数据 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">path[</td><td>I ] </td></tr>
    <tr><td class="paramname">root[</td><td>O ] </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功操作返回true，否则返回false </dd></dl>
<p>循环遍历目录，遇到目录则下钻枚举；遇到空则上退枚举</p>

<p class="definition">在文件 <a class="el" href="../../d3/d58/fs_8cpp_source.html">fs.cpp</a> 第 <a class="el" href="../../d3/d58/fs_8cpp_source.html#l00120">120</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../dc/d2f/classfs_aca59d4eca486930e503c0e6902ae591c_cgraph.png" border="0" usemap="#adc/d2f/classfs_aca59d4eca486930e503c0e6902ae591c_cgraph" alt=""/></div>
<map name="adc/d2f/classfs_aca59d4eca486930e503c0e6902ae591c_cgraph" id="adc/d2f/classfs_aca59d4eca486930e503c0e6902ae591c_cgraph">
<area shape="rect" title="枚举文件，将指定目录按照原本的结构整理成一个可以以树形结构遍历的数据" alt="" coords="5,81,99,108"/>
<area shape="rect" href="../../d4/d4d/classtree.html#aa8ade1e05e68d8406c9916d393c095f3" title="current" alt="" coords="158,5,250,32"/>
<area shape="poly" title=" " alt="" coords="76,78,145,42,156,36,158,41,148,46,79,83"/>
<area shape="rect" href="../../d4/d4d/classtree.html#a6f734c46a53d12279b6fdc7faf6b9f0f" title=" " alt="" coords="147,56,261,83"/>
<area shape="poly" title=" " alt="" coords="99,84,131,79,132,84,100,89"/>
<area shape="rect" href="../../d4/d4d/classtree.html#a75e48363bb7d31de42b18a63bb06afed" title="在给定的父节点下添加一个孩子节点。这个函数只会在父节点下的所有孩子节点最后添加" alt="" coords="162,107,246,133"/>
<area shape="poly" title=" " alt="" coords="100,100,148,108,147,113,99,105"/>
<area shape="rect" href="../../d0/d0e/misc_8hpp.html#adc75a513912f0c4d40d5882955b411c1" title="判断是否是目录" alt="" coords="180,159,228,185"/>
<area shape="poly" title=" " alt="" coords="79,106,148,143,167,152,164,157,145,148,77,111"/>
<area shape="rect" href="../../d1/d44/classtree_1_1tree_node.html#a0577532f377d701d96c4822b3fc45192" title="添加孩子节点。这个操作在孩子节点的最后追加内容" alt="" coords="309,96,449,139"/>
<area shape="poly" title=" " alt="" coords="246,117,293,116,293,121,246,122"/>
<area shape="rect" href="../../d1/d44/classtree_1_1tree_node.html#a1dd627bd23e96af4a68b0a7a5830619d" title=" " alt="" coords="497,104,663,131"/>
<area shape="poly" title=" " alt="" coords="450,115,482,115,482,120,450,120"/>
<area shape="rect" href="../../dc/d2f/classfs.html#a821cb3cdae648caf6a9f92b39c864421" title="判断给定的路径是否是目录" alt="" coords="346,163,413,189"/>
<area shape="poly" title=" " alt="" coords="229,170,330,172,330,178,228,175"/>
</map>
</div>

</div>
</div>
<a id="aead05250d375e2339c7b9d5d9181d01c" name="aead05250d375e2339c7b9d5d9181d01c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aead05250d375e2339c7b9d5d9181d01c">&#9670;&#160;</a></span>enumFileAsync()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void fs::enumFileAsync </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>path</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::function&lt; void(<a class="el" href="#af8aecc9593fcc171457f88a3c7c35e49">emErrCode</a>, <a class="el" href="#aceed8ab8a41b460ab6feafd3ffeed55e">fileTree</a> &amp;) &gt;</td>          <td class="paramname"><span class="paramname"><em>fun</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d3/d58/fs_8cpp_source.html">fs.cpp</a> 第 <a class="el" href="../../d3/d58/fs_8cpp_source.html#l00191">191</a> 行定义.</p>

</div>
</div>
<a id="a13278749ac0f2cf238be3829c3b7f68d" name="a13278749ac0f2cf238be3829c3b7f68d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13278749ac0f2cf238be3829c3b7f68d">&#9670;&#160;</a></span>for_each()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="#af8aecc9593fcc171457f88a3c7c35e49">fs::emErrCode</a> fs::for_each </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>path</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::function&lt; bool(<a class="el" href="#af8aecc9593fcc171457f88a3c7c35e49">emErrCode</a>, const <a class="el" href="../../dc/d7c/structfs_1_1st_file_item.html">stFileItem</a> &amp;) &gt;</td>          <td class="paramname"><span class="paramname"><em>fun</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>遍历指定路径中的文件 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">path[</td><td>I ], 指定目录 </td></tr>
    <tr><td class="paramname">fun</td><td>执行的操作 bool fun( const stFileItem&amp; item ); 如果要停止遍历则返回false </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="../../d3/d58/fs_8cpp_source.html">fs.cpp</a> 第 <a class="el" href="../../d3/d58/fs_8cpp_source.html#l00308">308</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../dc/d2f/classfs_a13278749ac0f2cf238be3829c3b7f68d_cgraph.png" border="0" usemap="#adc/d2f/classfs_a13278749ac0f2cf238be3829c3b7f68d_cgraph" alt=""/></div>
<map name="adc/d2f/classfs_a13278749ac0f2cf238be3829c3b7f68d_cgraph" id="adc/d2f/classfs_a13278749ac0f2cf238be3829c3b7f68d_cgraph">
<area shape="rect" title="遍历指定路径中的文件" alt="" coords="5,55,96,81"/>
<area shape="rect" href="../../d4/d4d/classtree.html#af7ab12229576333df8da0020464d5e7c" title="遍历树" alt="" coords="150,29,252,56"/>
<area shape="poly" title=" " alt="" coords="96,58,134,51,135,56,97,63"/>
<area shape="rect" href="../../d4/d4d/classtree.html#a6f734c46a53d12279b6fdc7faf6b9f0f" title=" " alt="" coords="144,80,258,107"/>
<area shape="poly" title=" " alt="" coords="97,73,129,78,128,84,96,78"/>
<area shape="poly" title=" " alt="" coords="175,30,170,21,173,11,184,5,201,3,219,5,229,12,226,16,217,10,201,8,185,10,177,14,175,20,179,28"/>
</map>
</div>

</div>
</div>
<a id="a821cb3cdae648caf6a9f92b39c864421" name="a821cb3cdae648caf6a9f92b39c864421"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a821cb3cdae648caf6a9f92b39c864421">&#9670;&#160;</a></span>isDir() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool fs::isDir </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>path</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>判断给定的路径是否是目录 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">path</td><td>[ I ] 文件路径 </td></tr>
    <tr><td class="paramname">item[</td><td>I ] 指定文件项目 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>如果是目录返回true, 否则返回false </dd></dl>

<p class="definition">在文件 <a class="el" href="../../d3/d58/fs_8cpp_source.html">fs.cpp</a> 第 <a class="el" href="../../d3/d58/fs_8cpp_source.html#l00075">75</a> 行定义.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../dc/d2f/classfs_a821cb3cdae648caf6a9f92b39c864421_icgraph.png" border="0" usemap="#adc/d2f/classfs_a821cb3cdae648caf6a9f92b39c864421_icgraph" alt=""/></div>
<map name="adc/d2f/classfs_a821cb3cdae648caf6a9f92b39c864421_icgraph" id="adc/d2f/classfs_a821cb3cdae648caf6a9f92b39c864421_icgraph">
<area shape="rect" title="判断给定的路径是否是目录" alt="" coords="754,183,821,209"/>
<area shape="rect" href="../../d0/d0e/misc_8hpp.html#a7d89edea2694a572f10f019e2b0731c5" title="从路径中抽取文件名。" alt="" coords="632,107,706,133"/>
<area shape="poly" title=" " alt="" coords="751,176,690,136,693,132,754,171"/>
<area shape="rect" href="../../d0/d0e/misc_8hpp.html#adc75a513912f0c4d40d5882955b411c1" title="判断是否是目录" alt="" coords="645,259,693,285"/>
<area shape="poly" title=" " alt="" coords="754,221,693,260,690,256,751,216"/>
<area shape="rect" href="../../db/d0b/classwheels_1_1ali_o_s_s.html#accb5424154991b92f37f274f15200113" title=" " alt="" coords="427,5,584,32"/>
<area shape="poly" title=" " alt="" coords="644,97,616,71,583,46,559,35,561,30,586,42,620,67,648,93"/>
<area shape="rect" href="../../db/d0b/classwheels_1_1ali_o_s_s.html#a68926e3ee8ed4a544688030648e6a11b" title="批量上传操作" alt="" coords="427,56,584,83"/>
<area shape="poly" title=" " alt="" coords="617,107,550,86,552,81,619,102"/>
<area shape="rect" href="../../db/d0b/classwheels_1_1ali_o_s_s.html#a6c61d77f25ef9dea32e80053742a5a77" title="上传文件到服务器" alt="" coords="427,107,584,133"/>
<area shape="poly" title=" " alt="" coords="617,123,585,123,585,117,617,117"/>
<area shape="rect" href="../../db/d0b/classwheels_1_1ali_o_s_s.html#a2322e2d02d40bb34116aaed8d51a8589" title=" " alt="" coords="427,157,584,184"/>
<area shape="poly" title=" " alt="" coords="619,138,552,159,550,154,617,133"/>
<area shape="rect" href="../../dc/d2f/classfs.html#acddf6fbd688a9f3ab94f8634090ac9db" title="判断指定目录是否是空目录" alt="" coords="460,208,552,235"/>
<area shape="poly" title=" " alt="" coords="629,263,550,238,552,233,631,258"/>
<area shape="rect" href="../../dc/d2f/classfs.html#aca59d4eca486930e503c0e6902ae591c" title="枚举文件，将指定目录按照原本的结构整理成一个可以以树形结构遍历的数据" alt="" coords="459,259,552,285"/>
<area shape="poly" title=" " alt="" coords="629,275,553,275,553,269,629,269"/>
<area shape="rect" href="../../d7/d5f/misc_8cpp.html#a1281e08e5da281269eef64e5790c4116" title="从路径中抽出文件名称。 1 函数会检查本地文件是否存在，如果不存在根据最后路径是否还存在 分隔符號，如果不存在分隔符號则直接给出最后一个名称。如果存在判断为目录 2 如果文件存在，则会检查对象是否是目录" alt="" coords="440,309,571,336"/>
<area shape="poly" title=" " alt="" coords="631,286,552,311,550,306,629,281"/>
<area shape="rect" href="../../dc/d2f/classfs.html#aadd2e9ee5179b644dac3206cdd662f34" title="删除满足条件要求的文件或者目录" alt="" coords="454,385,558,412"/>
<area shape="poly" title=" " alt="" coords="645,298,586,350,532,387,529,383,583,346,642,294"/>
<area shape="rect" href="../../d0/d0e/misc_8hpp.html#aa6ab57aaa484b0046c82e74c5c30e050" title="判断目录是否为空" alt="" coords="264,183,338,209"/>
<area shape="poly" title=" " alt="" coords="444,216,338,203,338,198,445,211"/>
<area shape="rect" href="../../d4/d31/classwheels_1_1curl_ftp.html#a05feb0263f26899dc82d5d37563f527f" title="上传文件到服务器" alt="" coords="223,233,379,260"/>
<area shape="poly" title=" " alt="" coords="443,306,426,300,378,274,348,263,349,258,380,270,428,295,445,301"/>
<area shape="rect" href="../../d4/d31/classwheels_1_1curl_ftp.html#a13b876b8b1d24c1492e05dbb15983deb" title=" " alt="" coords="223,284,379,311"/>
<area shape="poly" title=" " alt="" coords="425,315,379,310,380,304,426,310"/>
<area shape="rect" href="../../d2/d96/classwheels_1_1rc_ftp.html#a2587dfd75a0fa9e9107eaa7cdb545a63" title="上传文件到服务器" alt="" coords="228,335,374,361"/>
<area shape="poly" title=" " alt="" coords="426,335,375,342,374,336,425,330"/>
<area shape="rect" href="../../d2/d96/classwheels_1_1rc_ftp.html#a1bd65817852bdb098e40e79dc154d724" title=" " alt="" coords="228,385,374,412"/>
<area shape="poly" title=" " alt="" coords="459,345,380,376,347,387,345,382,378,371,457,340"/>
<area shape="rect" href="../../d0/d0e/misc_8hpp.html#a82532c7da66cb6f199552ed698d23c48" title="removeFile" alt="" coords="258,436,344,463"/>
<area shape="poly" title=" " alt="" coords="439,418,344,442,343,436,438,413"/>
<area shape="rect" href="../../d0/d0e/misc_8hpp.html#a91bf6ce30f0a6e35897002a612542d66" title="删除当前目录下的所有内容" alt="" coords="57,385,123,412"/>
<area shape="poly" title=" " alt="" coords="243,438,123,409,124,404,244,433"/>
<area shape="rect" href="../../db/dba/classwheels_1_1log_file.html#af0ca6507647b42f11202d3e08f2cfbad" title="配置LOG生成控制参数" alt="" coords="5,436,175,463"/>
<area shape="poly" title=" " alt="" coords="243,452,175,452,175,447,243,447"/>
<area shape="rect" href="../../dc/d2f/classfs.html#a0a07c998d2fa4da5920d39421123dba0" title=" " alt="" coords="19,487,161,513"/>
<area shape="poly" title=" " alt="" coords="244,466,149,489,148,483,243,460"/>
</map>
</div>

</div>
</div>
<a id="ac798c0a9fba084f6c2ec070924828915" name="ac798c0a9fba084f6c2ec070924828915"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac798c0a9fba084f6c2ec070924828915">&#9670;&#160;</a></span>isDir() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool fs::isDir </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d7c/structfs_1_1st_file_item.html">stFileItem</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>item</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aaf164e8b33c13f8499dafa499f763778" name="aaf164e8b33c13f8499dafa499f763778"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf164e8b33c13f8499dafa499f763778">&#9670;&#160;</a></span>isFile()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool fs::isFile </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>path</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>判断给定的路径是否是普通文件 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">path</td><td>[ I ] 文件路径 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>如果是普通文件返回true, 否则返回false </dd></dl>

<p class="definition">在文件 <a class="el" href="../../d3/d58/fs_8cpp_source.html">fs.cpp</a> 第 <a class="el" href="../../d3/d58/fs_8cpp_source.html#l00097">97</a> 行定义.</p>

</div>
</div>
<a id="aadd2e9ee5179b644dac3206cdd662f34" name="aadd2e9ee5179b644dac3206cdd662f34"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aadd2e9ee5179b644dac3206cdd662f34">&#9670;&#160;</a></span>removeFile()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="#af8aecc9593fcc171457f88a3c7c35e49">fs::emErrCode</a> fs::removeFile </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>path</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>reg</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>re</em></span><span class="paramdefsep"> = </span><span class="paramdefval">true</span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>删除满足条件要求的文件或者目录 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">path[</td><td>I ], 文件目录路径 </td></tr>
    <tr><td class="paramname">files[</td><td>I ]， 文件名匹配条件， 文件匹配条件以正则表达式作为匹配条件 </td></tr>
    <tr><td class="paramname">reg[</td><td>I ], 条件正则表达式 </td></tr>
    <tr><td class="paramname">re[</td><td>I ], 是否迭代删除 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>删除成功返回OK，否则返回错误代码 </dd></dl>

<p class="definition">在文件 <a class="el" href="../../d3/d58/fs_8cpp_source.html">fs.cpp</a> 第 <a class="el" href="../../d3/d58/fs_8cpp_source.html#l00206">206</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../dc/d2f/classfs_aadd2e9ee5179b644dac3206cdd662f34_cgraph.png" border="0" usemap="#adc/d2f/classfs_aadd2e9ee5179b644dac3206cdd662f34_cgraph" alt=""/></div>
<map name="adc/d2f/classfs_aadd2e9ee5179b644dac3206cdd662f34_cgraph" id="adc/d2f/classfs_aadd2e9ee5179b644dac3206cdd662f34_cgraph">
<area shape="rect" title="删除满足条件要求的文件或者目录" alt="" coords="5,5,110,32"/>
<area shape="rect" href="../../d0/d0e/misc_8hpp.html#adc75a513912f0c4d40d5882955b411c1" title="判断是否是目录" alt="" coords="158,5,206,32"/>
<area shape="poly" title=" " alt="" coords="110,16,142,16,142,21,110,21"/>
<area shape="rect" href="../../dc/d2f/classfs.html#a821cb3cdae648caf6a9f92b39c864421" title="判断给定的路径是否是目录" alt="" coords="254,5,321,32"/>
<area shape="poly" title=" " alt="" coords="207,16,238,16,238,21,207,21"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../dc/d2f/classfs_aadd2e9ee5179b644dac3206cdd662f34_icgraph.png" border="0" usemap="#adc/d2f/classfs_aadd2e9ee5179b644dac3206cdd662f34_icgraph" alt=""/></div>
<map name="adc/d2f/classfs_aadd2e9ee5179b644dac3206cdd662f34_icgraph" id="adc/d2f/classfs_aadd2e9ee5179b644dac3206cdd662f34_icgraph">
<area shape="rect" title="删除满足条件要求的文件或者目录" alt="" coords="356,56,460,83"/>
<area shape="rect" href="../../d0/d0e/misc_8hpp.html#a82532c7da66cb6f199552ed698d23c48" title="removeFile" alt="" coords="223,56,308,83"/>
<area shape="poly" title=" " alt="" coords="340,72,308,72,308,67,340,67"/>
<area shape="rect" href="../../d0/d0e/misc_8hpp.html#a91bf6ce30f0a6e35897002a612542d66" title="删除当前目录下的所有内容" alt="" coords="57,5,123,32"/>
<area shape="poly" title=" " alt="" coords="207,55,123,31,124,26,208,50"/>
<area shape="rect" href="../../db/dba/classwheels_1_1log_file.html#af0ca6507647b42f11202d3e08f2cfbad" title="配置LOG生成控制参数" alt="" coords="5,56,175,83"/>
<area shape="poly" title=" " alt="" coords="207,72,175,72,175,67,207,67"/>
<area shape="rect" href="../../dc/d2f/classfs.html#a0a07c998d2fa4da5920d39421123dba0" title=" " alt="" coords="19,107,161,133"/>
<area shape="poly" title=" " alt="" coords="209,88,140,109,138,103,207,83"/>
</map>
</div>

</div>
</div>
<a id="a0a07c998d2fa4da5920d39421123dba0" name="a0a07c998d2fa4da5920d39421123dba0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0a07c998d2fa4da5920d39421123dba0">&#9670;&#160;</a></span>removeFileAsync()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void fs::removeFileAsync </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>path</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>files</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::function&lt; void(<a class="el" href="#af8aecc9593fcc171457f88a3c7c35e49">emErrCode</a>) &gt;</td>          <td class="paramname"><span class="paramname"><em>fun</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>re</em></span><span class="paramdefsep"> = </span><span class="paramdefval">true</span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d3/d58/fs_8cpp_source.html">fs.cpp</a> 第 <a class="el" href="../../d3/d58/fs_8cpp_source.html#l00292">292</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../dc/d2f/classfs_a0a07c998d2fa4da5920d39421123dba0_cgraph.png" border="0" usemap="#adc/d2f/classfs_a0a07c998d2fa4da5920d39421123dba0_cgraph" alt=""/></div>
<map name="adc/d2f/classfs_a0a07c998d2fa4da5920d39421123dba0_cgraph" id="adc/d2f/classfs_a0a07c998d2fa4da5920d39421123dba0_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,147,32"/>
<area shape="rect" href="../../d0/d0e/misc_8hpp.html#a82532c7da66cb6f199552ed698d23c48" title="removeFile" alt="" coords="195,5,280,32"/>
<area shape="poly" title=" " alt="" coords="147,16,179,16,179,21,147,21"/>
<area shape="rect" href="../../dc/d2f/classfs.html#aadd2e9ee5179b644dac3206cdd662f34" title="删除满足条件要求的文件或者目录" alt="" coords="328,5,432,32"/>
<area shape="poly" title=" " alt="" coords="280,16,312,16,312,21,280,21"/>
<area shape="rect" href="../../d0/d0e/misc_8hpp.html#adc75a513912f0c4d40d5882955b411c1" title="判断是否是目录" alt="" coords="480,5,529,32"/>
<area shape="poly" title=" " alt="" coords="433,16,464,16,464,21,433,21"/>
<area shape="rect" href="../../dc/d2f/classfs.html#a821cb3cdae648caf6a9f92b39c864421" title="判断给定的路径是否是目录" alt="" coords="577,5,644,32"/>
<area shape="poly" title=" " alt="" coords="529,16,561,16,561,21,529,21"/>
</map>
</div>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>include/<a class="el" href="../../d8/d68/fs_8hpp_source.html">fs.hpp</a></li>
<li>src/<a class="el" href="../../d3/d58/fs_8cpp_source.html">fs.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
